package com.mm.mapper;

import com.mm.bo.CategorySearchBo;
import com.mm.my.mapper.MyMapper;
import com.mm.pojo.CategoryInfo;
import com.mm.vo.CategoryInfoVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CategoryInfoMapper extends MyMapper<CategoryInfo> {
    /**
     * 物资种类总条数查询
     *
     * @param categorySearchBo
     * @return
     */
    Integer findCategoryCount(CategorySearchBo categorySearchBo);

    /**
     * 物资种类列表查询
     *
     * @param categorySearchBo
     * @return
     */
    List<CategoryInfoVo> findCategoryList(CategorySearchBo categorySearchBo);
}